<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<a href="
<s:url action='testAction' method='add'>
	<s:param name="testModel.id">3</s:param>
	<s:param name="testModel.name">王五</s:param>
</s:url>
">新增</a>
<a href="
<s:url action='testAction' method='view' />
">查看</a>
</body>
</html>